package com.younge.spring.api.result;

import java.util.List;

public class UserInfoResult {
    private String realName;
    private List<String> roles;

    public UserInfoResult(String realName, List<String> roles) {
        this.realName = realName;
        this.roles = roles;
    }

    public UserInfoResult() {
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }
}
